package cn.ecut.service;

import cn.ecut.model.Examine;
import cn.ecut.model.Relative;
import cn.ecut.model.ScholarshipApply;
import cn.ecut.model.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ScholarshipApplyService {
    String selectArea(String id);
    Integer insertScholarshipApply(ScholarshipApply scholarshipApply);
    List<Relative> TransRelative(String relationShip,String relationName,String relationOccupation ,String relationPhone);
    String jsonTrans(String s);
    Integer insertRelative(List<Relative> relativeList);
    void updataApplyNum(Integer sid);
    Integer selectScholarshipResidue(Integer sid);
    Integer selectApplyCount(String number);
    boolean selectIsApply(String number,Integer sid);
    boolean IsOutCount(String number);
    boolean selectIsHave(String number);
    List<Examine> selectExamineByPage(int offset, int num);
    Integer selectAllApplyCount();
    List<Examine> advanceSelect(String s,int offset,int num);
    Integer advanceSelectCount(String s);
    int selectScholarshipApplyStateByid(Integer id);
    Integer deleteScholarshipApplyByid(Integer id);
    Student selectStudentAndRelative(String number,Integer sid);
    ScholarshipApply selectScholarship(Integer id);
    Integer selectSidByid(Integer id);
    Integer pass(Integer id);
    Integer out(Integer id);
}
